package com.ruoyi.yl.bedSetting.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.yl.bedSetting.domain.YlBed;
import com.ruoyi.yl.bedSetting.vo.YlBedVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 床位Mapper接口
 *
 * @author Ming
 * @date 2025-10-21
 */
public interface YlBedMapper extends BaseMapper<YlBed> {

    Page<YlBedVo> queryList(Page<?> page, @Param("entity") YlBedVo entity);

    List<YlBedVo> queryList(@Param("entity") YlBedVo entity);

    YlBedVo queryById(@Param("id") Long id);

}
